package com.yonyou.pmclouds.workflow.entity;

import com.fasterxml.jackson.databind.JsonNode;
import com.yonyou.pmclouds.basecom.entity.SuperVO;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;
import java.util.List;

@Table(name = "pm_process_data_syn")
@Getter
@Setter
public class ProcessDataSynVO extends SuperVO{

    private static final long serialVersionUID = -7397513261996455023L;

    public static final String SYN_RESULT = "synResult";

    public static final String LAST_SYN_DATE = "lastSynDate";

    public static final String SYN_MESSAGE = "synMessage";

    public static final String SUCCESS = "ok";

    public static final String FIELD_ERROR_MESSAGE = "errmsg";

    @Id
    private String pkDataSyn;
    // 数据类型
    private String dataType;
    // 同步结果
    private String synResult;
    // 上一次同步时间
    private Date lastSynDate;
    // 同步返回信息
    private String synMessage;

    private String synObject;

    /*** 通用字段 **/
    private String pkTenant;
    private String creator;
    private Date creationtime;
    private String modifier;
    private Date modifytime;
}
